public class TestJava1005 {
    public static void main(String[] args) {
        Java1005 a = new Java1005(1);
        a.creatList();
        a.show();

        System.out.println(a.size());

        System.out.println(a.contain(12));

//        a.addFirst(188);
//        a.show();
//        a.addLast(198);
//        a.show();

        a.addIndex(0,99);
        a.show();
        System.out.println(a.size());

    }

}
